package com.rongc.client.freight.business.supply.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.rongc.client.core.network.api.AbsRequest;
import com.rongc.client.core.network.params.BaseParams;
import com.rongc.client.freight.ApiUrl;

import org.json.JSONObject;


/*
*  发布运单跳转推荐车辆接口
* */

public class SupplyFindDriverApi extends AbsRequest<SupplyFindDriverApi.SupplyFindDriverParams, JSONObject> {

    public SupplyFindDriverApi(SupplyFindDriverParams feedbackParams, Listener<JSONObject> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getFindDriverUrl(), feedbackParams, listener, errorListener, JSONObject.class);
    }

    public static class SupplyFindDriverParams extends BaseParams {

        public SupplyFindDriverParams(String goodId) {
            put("goodId",goodId);
            put("page","1");
        }
    }


}
